package cc.eddic.pratice.programmingparadigms.exam;

import cc.eddic.pratice.programmingparadigms.advanced.EddicInterface;
import cc.eddic.pratice.programmingparadigms.exam.Model.AnswerModel;
import cc.eddic.pratice.programmingparadigms.exam.domain.Question;

import java.util.List;
import java.util.Map;

@EddicInterface
public interface QuestionBankService {
    List<Question> importQuestions(String questionTextFile);

    @Deprecated
    List<Question> importCorrectAnswers(String correctAnswerTextFile);

    List<AnswerModel> readCorrectAnswers(String correctAnswerTextFile);

    default Map<Integer, Character> readCorrectAnswers2(String correctAnswerTextFile) {
        throw new UnsupportedOperationException();
    }

    List<Question> importCategories(String categoryExcelFile);

}
